#pragma once
#include <QtCore/qglobal.h>
#include <QWidget>
#include <QFileSystemModel>

namespace Ui {
class windowWidget;
}

class  windowWidget : public QWidget
{
    Q_OBJECT
public:
    explicit windowWidget(QWidget *parent = nullptr);
    ~windowWidget();
    void setPowerLevel(int pow);
    int getPowerLevel();

private slots:
    void mkdir();
    void rm();
private:
    QFileSystemModel *model;
    Ui::windowWidget*ui;
    int m_state;
};

